POV-Ray : Newsgroups : povray.binaries.images : isosurface does not render as expected : isosurface does not render as expected Server Time
11 Aug 2024 07:15:34 EDT (-0400)
  isosurface does not render as expected  
From: marabou
Date: 19 Apr 2004 10:21:33
Message: <4083e069@news.povray.org>
hello,

i made a try to look behind the the technique of isosurfaces. so i
read the Povray-documentation delivered with Povray
(file:/opt/povray35_first/share/doc/povray-3.50a/html
povdoc_082.html#target_137).
i was surprised that my results are not the same as shown in
documentation.
it should look like iso_23.gif but does look like iso_map.jpg.
as you can see i use self-compiled 3.50a-version of Povray. 
is there my mistake?
or did i missunderstood the documentation so my code is wrong?

additionally i read a isosurface-tutorial under
http://www.econym.demon.co.uk/isotut/
it is nice. but what i need is a more basic one or one even better
than Povray's. does anyone know where i can find them in net?

thanks for help in advance.

this is the code i have written:
//------------------------------>>iso_map.pov
#version 3.5

#include "functions.inc"

#declare radiosity_on=true;
//#declare radiosity_on=false;

global_settings {
        adc_bailout 0.00392157
        assumed_gamma 1.5
        ambient_light 2
        #if (radiosity_on)
                radiosity {
                gray_threshold 1
                }
        #end //if
}


#declare cam1=
camera {
        location <0,2.5,-2.5>
        look_at <0,0,0>
}

camera { cam1 }

light_source {
        <5,5,-5>
        color <255,255,255>/255
}

plane {
        y,-0.1
        pigment { color <255,255,255>/255 }
}

#declare fn_Pigm=function {
    pigment {
       agate
       color_map {
         [0 color rgb 0]
        [1 color rgb 1]
       }
    }
}
isosurface {
        function { f_sphere(x, y, z, 1.6)-fn_Pigm(x/2, y/2, z/2).gray*0.5 }
        pigment { color <255,225,32>/255}
        rotate y*-30
}
//------------------------------<<iso_map.pov


Post a reply to this message


Attachments:
Download 'iso_23.gif' (8 KB) Download 'iso_map.jpg' (9 KB)

Preview of image 'iso_23.gif'
iso_23.gif

Preview of image 'iso_map.jpg'
iso_map.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.